package com.google.gwt.gfx.client.shared;

/**
 * Position with control point in an area in screen.
 */
public class ControlPoint {

	private int controlLeft;

	private int controlTop;

	private int left;

	private int top;

	public ControlPoint(double controlLeft, double controlTop, double left,
			double top) {
		this((int) controlLeft, (int) controlTop, (int) left, (int) top);
	}

	public ControlPoint(int controlLeft, int controlTop, int left, int top) {
		this.controlLeft = controlLeft;
		this.controlTop = controlTop;
		this.left = left;
		this.top = top;
	}

	public int getControlLeft() {
		return controlLeft;
	}

	public int getControlTop() {
		return controlTop;
	}

	public int getLeft() {
		return left;
	}

	public int getTop() {
		return top;
	}

	public void setControlLeft(int controlLeft) {
		this.controlLeft = controlLeft;
	}

	public void setControlTop(int controlTop) {
		this.controlTop = controlTop;
	}

	public void setLeft(final int left) {
		this.left = left;
	}

	public void setTop(final int top) {
		this.top = top;
	}

}
